\doxysection{transform\+\_\+functions\+\_\+f16.\+h}
\hypertarget{transform__functions__f16_8h_source}{}\label{transform__functions__f16_8h_source}\index{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Middlewares/ST/ARM/DSP/Include/dsp/transform\_functions\_f16.h@{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Middlewares/ST/ARM/DSP/Include/dsp/transform\_functions\_f16.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/******************************************************************************}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ @file\ \ \ \ \ transform\_functions\_f16.h}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ @brief\ \ \ \ Public\ header\ file\ for\ CMSIS\ DSP\ Library}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ @version\ \ V1.10.0}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ @date\ \ \ \ \ 08\ July\ 2021}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ Target\ Processor:\ Cortex-\/M\ and\ Cortex-\/A\ cores}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ ******************************************************************************/}}
\DoxyCodeLine{00008\ \textcolor{comment}{/*}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ Copyright\ (c)\ 2010-\/2020\ Arm\ Limited\ or\ its\ affiliates.\ All\ rights\ reserved.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ SPDX-\/License-\/Identifier:\ Apache-\/2.0}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ Licensed\ under\ the\ Apache\ License,\ Version\ 2.0\ (the\ License);\ you\ may}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ not\ use\ this\ file\ except\ in\ compliance\ with\ the\ License.}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ You\ may\ obtain\ a\ copy\ of\ the\ License\ at}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *\ www.apache.org/licenses/LICENSE-\/2.0}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ Unless\ required\ by\ applicable\ law\ or\ agreed\ to\ in\ writing,\ software}}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ distributed\ under\ the\ License\ is\ distributed\ on\ an\ AS\ IS\ BASIS,\ WITHOUT}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *\ WARRANTIES\ OR\ CONDITIONS\ OF\ ANY\ KIND,\ either\ express\ or\ implied.}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ *\ See\ the\ License\ for\ the\ specific\ language\ governing\ permissions\ and}}
\DoxyCodeLine{00023\ \textcolor{comment}{\ *\ limitations\ under\ the\ License.}}
\DoxyCodeLine{00024\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \ }
\DoxyCodeLine{00027\ \textcolor{preprocessor}{\#ifndef\ \_TRANSFORM\_FUNCTIONS\_F16\_H\_}}
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#define\ \_TRANSFORM\_FUNCTIONS\_F16\_H\_}}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ \textcolor{preprocessor}{\#include\ "{}arm\_math\_types\_f16.h"{}}}
\DoxyCodeLine{00031\ \textcolor{preprocessor}{\#include\ "{}arm\_math\_memory.h"{}}}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#include\ "{}dsp/none.h"{}}}
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#include\ "{}dsp/utils.h"{}}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00036\ \textcolor{preprocessor}{\#ifdef\ \ \ \_\_cplusplus}}
\DoxyCodeLine{00037\ \textcolor{keyword}{extern}\ \textcolor{stringliteral}{"{}C"{}}}
\DoxyCodeLine{00038\ \{}
\DoxyCodeLine{00039\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00040\ }
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00042\ }
\DoxyCodeLine{00043\ \textcolor{preprocessor}{\#if\ defined(ARM\_FLOAT16\_SUPPORTED)}}
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00045\ }
\DoxyCodeLine{00049\ \ \ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00050\ \ \ \{}
\DoxyCodeLine{00051\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ fftLen;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00052\ \ \ \ \ \ \ \ \ \ \ uint8\_t\ ifftFlag;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00053\ \ \ \ \ \ \ \ \ \ \ uint8\_t\ bitReverseFlag;\ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00054\ \ \ \ \ \textcolor{keyword}{const}\ float16\_t\ *pTwiddle;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00055\ \ \ \ \ \textcolor{keyword}{const}\ uint16\_t\ *pBitRevTable;\ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ twidCoefModifier;\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00057\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ bitRevFactor;\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00058\ \ \ \ \ \ \ \ \ \ \ float16\_t\ onebyfftLen;\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00059\ \ \ \}\ arm\_cfft\_radix2\_instance\_f16;}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00064\ \ \ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00065\ \ \ \{}
\DoxyCodeLine{00066\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ fftLen;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00067\ \ \ \ \ \ \ \ \ \ \ uint8\_t\ ifftFlag;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00068\ \ \ \ \ \ \ \ \ \ \ uint8\_t\ bitReverseFlag;\ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00069\ \ \ \ \ \textcolor{keyword}{const}\ float16\_t\ *pTwiddle;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00070\ \ \ \ \ \textcolor{keyword}{const}\ uint16\_t\ *pBitRevTable;\ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00071\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ twidCoefModifier;\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00072\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ bitRevFactor;\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00073\ \ \ \ \ \ \ \ \ \ \ float16\_t\ onebyfftLen;\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00074\ \ \ \}\ arm\_cfft\_radix4\_instance\_f16;}
\DoxyCodeLine{00075\ }
\DoxyCodeLine{00079\ \ \ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00080\ \ \ \{}
\DoxyCodeLine{00081\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ fftLen;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00082\ \ \ \ \ \textcolor{keyword}{const}\ float16\_t\ *pTwiddle;\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00083\ \ \ \ \ \textcolor{keyword}{const}\ uint16\_t\ *pBitRevTable;\ \ \ \ \ \ }
\DoxyCodeLine{00084\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ bitRevLength;\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00085\ \textcolor{preprocessor}{\#if\ defined(ARM\_MATH\_MVEF)\ \&\&\ !defined(ARM\_MATH\_AUTOVECTORIZE)}}
\DoxyCodeLine{00086\ \ \ \ \textcolor{keyword}{const}\ uint32\_t\ *rearranged\_twiddle\_tab\_stride1\_arr;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{00087\ \ \ \ \textcolor{keyword}{const}\ uint32\_t\ *rearranged\_twiddle\_tab\_stride2\_arr;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{00088\ \ \ \ \textcolor{keyword}{const}\ uint32\_t\ *rearranged\_twiddle\_tab\_stride3\_arr;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{00089\ \ \ \ \textcolor{keyword}{const}\ float16\_t\ *rearranged\_twiddle\_stride1;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{00090\ \ \ \ \textcolor{keyword}{const}\ float16\_t\ *rearranged\_twiddle\_stride2;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{00091\ \ \ \ \textcolor{keyword}{const}\ float16\_t\ *rearranged\_twiddle\_stride3;}
\DoxyCodeLine{00092\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00093\ \ \ \}\ arm\_cfft\_instance\_f16;}
\DoxyCodeLine{00094\ }
\DoxyCodeLine{00095\ }
\DoxyCodeLine{00096\ \ \ arm\_status\ arm\_cfft\_init\_f16(}
\DoxyCodeLine{00097\ \ \ arm\_cfft\_instance\_f16\ *\ S,}
\DoxyCodeLine{00098\ \ \ uint16\_t\ fftLen);}
\DoxyCodeLine{00099\ }
\DoxyCodeLine{00100\ \ \ \textcolor{keywordtype}{void}\ arm\_cfft\_f16(}
\DoxyCodeLine{00101\ \ \ \textcolor{keyword}{const}\ arm\_cfft\_instance\_f16\ *\ S,}
\DoxyCodeLine{00102\ \ \ \ \ \ \ \ \ float16\_t\ *\ p1,}
\DoxyCodeLine{00103\ \ \ \ \ \ \ \ \ uint8\_t\ ifftFlag,}
\DoxyCodeLine{00104\ \ \ \ \ \ \ \ \ uint8\_t\ bitReverseFlag);}
\DoxyCodeLine{00105\ }
\DoxyCodeLine{00109\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00110\ \ \ \{}
\DoxyCodeLine{00111\ \ \ \ \ \ \ \ \ \ \ arm\_cfft\_instance\_f16\ Sint;\ \ \ \ \ \ }
\DoxyCodeLine{00112\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ fftLenRFFT;\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00113\ \ \ \ \ \textcolor{keyword}{const}\ float16\_t\ *\ pTwiddleRFFT;\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00114\ \ \ \}\ arm\_rfft\_fast\_instance\_f16\ ;}
\DoxyCodeLine{00115\ }
\DoxyCodeLine{00116\ arm\_status\ arm\_rfft\_fast\_init\_f16\ (}
\DoxyCodeLine{00117\ \ \ \ \ \ \ \ \ \ arm\_rfft\_fast\_instance\_f16\ *\ S,}
\DoxyCodeLine{00118\ \ \ \ \ \ \ \ \ \ uint16\_t\ fftLen);}
\DoxyCodeLine{00119\ }
\DoxyCodeLine{00120\ }
\DoxyCodeLine{00121\ \ \ \textcolor{keywordtype}{void}\ arm\_rfft\_fast\_f16(}
\DoxyCodeLine{00122\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ arm\_rfft\_fast\_instance\_f16\ *\ S,}
\DoxyCodeLine{00123\ \ \ \ \ \ \ \ \ float16\_t\ *\ p,\ float16\_t\ *\ pOut,}
\DoxyCodeLine{00124\ \ \ \ \ \ \ \ \ uint8\_t\ ifftFlag);}
\DoxyCodeLine{00125\ }
\DoxyCodeLine{00126\ \textcolor{comment}{/*\ Deprecated\ */}}
\DoxyCodeLine{00127\ \ \ arm\_status\ arm\_cfft\_radix4\_init\_f16(}
\DoxyCodeLine{00128\ \ \ \ \ \ \ \ \ arm\_cfft\_radix4\_instance\_f16\ *\ S,}
\DoxyCodeLine{00129\ \ \ \ \ \ \ \ \ uint16\_t\ fftLen,}
\DoxyCodeLine{00130\ \ \ \ \ \ \ \ \ uint8\_t\ ifftFlag,}
\DoxyCodeLine{00131\ \ \ \ \ \ \ \ \ uint8\_t\ bitReverseFlag);}
\DoxyCodeLine{00132\ }
\DoxyCodeLine{00133\ \textcolor{comment}{/*\ Deprecated\ */}}
\DoxyCodeLine{00134\ \ \ \textcolor{keywordtype}{void}\ arm\_cfft\_radix4\_f16(}
\DoxyCodeLine{00135\ \ \ \textcolor{keyword}{const}\ arm\_cfft\_radix4\_instance\_f16\ *\ S,}
\DoxyCodeLine{00136\ \ \ \ \ \ \ \ \ float16\_t\ *\ pSrc);}
\DoxyCodeLine{00137\ }
\DoxyCodeLine{00138\ }
\DoxyCodeLine{00139\ \textcolor{comment}{/*\ Deprecated\ */}}
\DoxyCodeLine{00140\ \ \ arm\_status\ arm\_cfft\_radix2\_init\_f16(}
\DoxyCodeLine{00141\ \ \ \ \ \ \ \ \ arm\_cfft\_radix2\_instance\_f16\ *\ S,}
\DoxyCodeLine{00142\ \ \ \ \ \ \ \ \ uint16\_t\ fftLen,}
\DoxyCodeLine{00143\ \ \ \ \ \ \ \ \ uint8\_t\ ifftFlag,}
\DoxyCodeLine{00144\ \ \ \ \ \ \ \ \ uint8\_t\ bitReverseFlag);}
\DoxyCodeLine{00145\ }
\DoxyCodeLine{00146\ \textcolor{comment}{/*\ Deprecated\ */}}
\DoxyCodeLine{00147\ \ \ \textcolor{keywordtype}{void}\ arm\_cfft\_radix2\_f16(}
\DoxyCodeLine{00148\ \ \ \textcolor{keyword}{const}\ arm\_cfft\_radix2\_instance\_f16\ *\ S,}
\DoxyCodeLine{00149\ \ \ \ \ \ \ \ \ float16\_t\ *\ pSrc);}
\DoxyCodeLine{00150\ }
\DoxyCodeLine{00154\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00155\ \ \ \{}
\DoxyCodeLine{00156\ \ \ \ \ \ \textcolor{keyword}{const}\ float16\_t\ *dctCoefs;\ }
\DoxyCodeLine{00157\ \ \ \ \ \ \textcolor{keyword}{const}\ float16\_t\ *filterCoefs;\ \ }
\DoxyCodeLine{00158\ \ \ \ \ \ \textcolor{keyword}{const}\ float16\_t\ *windowCoefs;\ \ }
\DoxyCodeLine{00159\ \ \ \ \ \ \textcolor{keyword}{const}\ uint32\_t\ *filterPos;\ \ }
\DoxyCodeLine{00160\ \ \ \ \ \ \textcolor{keyword}{const}\ uint32\_t\ *filterLengths;\ \ }
\DoxyCodeLine{00161\ \ \ \ \ \ uint32\_t\ fftLen;\ }
\DoxyCodeLine{00162\ \ \ \ \ \ uint32\_t\ nbMelFilters;\ }
\DoxyCodeLine{00163\ \ \ \ \ \ uint32\_t\ nbDctOutputs;\ }
\DoxyCodeLine{00164\ \textcolor{preprocessor}{\#if\ defined(ARM\_MFCC\_CFFT\_BASED)}}
\DoxyCodeLine{00165\ \ \ \ \ \ \textcolor{comment}{/*\ Implementation\ of\ the\ MFCC\ is\ using\ a\ CFFT\ */}}
\DoxyCodeLine{00166\ \ \ \ \ \ arm\_cfft\_instance\_f16\ cfft;\ }
\DoxyCodeLine{00167\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00168\ \ \ \ \ \ \textcolor{comment}{/*\ Implementation\ of\ the\ MFCC\ is\ using\ a\ RFFT\ (default)\ */}}
\DoxyCodeLine{00169\ \ \ \ \ \ arm\_rfft\_fast\_instance\_f16\ rfft;}
\DoxyCodeLine{00170\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00171\ \ \ \}\ arm\_mfcc\_instance\_f16\ ;}
\DoxyCodeLine{00172\ }
\DoxyCodeLine{00173\ arm\_status\ arm\_mfcc\_init\_f16(}
\DoxyCodeLine{00174\ \ \ arm\_mfcc\_instance\_f16\ *\ S,}
\DoxyCodeLine{00175\ \ \ uint32\_t\ fftLen,}
\DoxyCodeLine{00176\ \ \ uint32\_t\ nbMelFilters,}
\DoxyCodeLine{00177\ \ \ uint32\_t\ nbDctOutputs,}
\DoxyCodeLine{00178\ \ \ \textcolor{keyword}{const}\ float16\_t\ *dctCoefs,}
\DoxyCodeLine{00179\ \ \ \textcolor{keyword}{const}\ uint32\_t\ *filterPos,}
\DoxyCodeLine{00180\ \ \ \textcolor{keyword}{const}\ uint32\_t\ *filterLengths,}
\DoxyCodeLine{00181\ \ \ \textcolor{keyword}{const}\ float16\_t\ *filterCoefs,}
\DoxyCodeLine{00182\ \ \ \textcolor{keyword}{const}\ float16\_t\ *windowCoefs}
\DoxyCodeLine{00183\ \ \ );}
\DoxyCodeLine{00184\ }
\DoxyCodeLine{00185\ }
\DoxyCodeLine{00194\ \ \ \textcolor{keywordtype}{void}\ arm\_mfcc\_f16(}
\DoxyCodeLine{00195\ \ \ \textcolor{keyword}{const}\ arm\_mfcc\_instance\_f16\ *\ S,}
\DoxyCodeLine{00196\ \ \ float16\_t\ *pSrc,}
\DoxyCodeLine{00197\ \ \ float16\_t\ *pDst,}
\DoxyCodeLine{00198\ \ \ float16\_t\ *pTmp}
\DoxyCodeLine{00199\ \ \ );}
\DoxyCodeLine{00200\ }
\DoxyCodeLine{00201\ \ \ }
\DoxyCodeLine{00202\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ defined(ARM\_FLOAT16\_SUPPORTED)*/}\textcolor{preprocessor}{}}
\DoxyCodeLine{00203\ }
\DoxyCodeLine{00204\ \textcolor{preprocessor}{\#ifdef\ \ \ \_\_cplusplus}}
\DoxyCodeLine{00205\ \}}
\DoxyCodeLine{00206\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00207\ }
\DoxyCodeLine{00208\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ ifndef\ \_TRANSFORM\_FUNCTIONS\_F16\_H\_\ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
